package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.DestroyRoleInfo;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class DestroyRoleBussiness {
    public static Map<Long, DestroyRoleInfo> getDestroyRoleInfoMap() {
        return DaoHelper.getDestroyRoleDaoImpl().getDestroyRoleInfoMap();
    }

    public static boolean addDestroyRoleInfo(DestroyRoleInfo data) {
        return DaoHelper.getDestroyRoleDaoImpl().add(data);
    }

    public static boolean updateDestroyRoleInfo(DestroyRoleInfo data) {
        return DaoHelper.getDestroyRoleDaoImpl().update(data);
    }
}
